from logging import getLogger
log = getLogger(__name__)


def _Manager(object):
    
    def __init__(self):
        self.components = {}
    
    def add(self, name, object):
        self.components[name] = object
        
    def get(self, name):
        return self.components[name]
    
    def remove(self, name, object):
        try:
            del( self.components[name] )
        except KeyError:
            pass
        
    def list(self):
        self.components.keys()
        
        
